<div class="modificarPerfil">
<?php echo $form->create('User', array('action'=>'modificarBaneado'));?>
	<fieldset>
 		<legend></legend>
		<table>
			<tr>
				<th><?php __('Modificar Usuario');?></th>
				<th><?php echo  $ajax->link('Cancel', array( 'controller' => 'users', 'action' => 'auditarUser',$form->value('User.user')), 
				array( 'update' => 'Miperfil' )); ?></th>
			</tr>
	<tr><td>		
	<?php
                echo $form->input('user', array('type' => 'hidden'));
		echo $form->input('baneado', array('label' => 'Desea Banear al usuario','options' => array( 0 => 'NO', 1 => 'SI'), 'default' => $form->value('User.baneado')));
	?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td>
	        <?php echo $ajax->submit('Aceptar', array('url' => 'modificarBaneado/'.$form->value('User.user'), 'complete' => 'updateUserBaneado('.$form->value('User.user').')'));?>
		<?php echo $form->end();?>
		</td>
	</tr>
		</table>
	</fieldset>
</div>